package com.vision.admin.role.cl;

import com.google.gwt.editor.client.Editor.Path;
import com.sencha.gxt.core.client.ValueProvider;
import com.sencha.gxt.data.shared.LabelProvider;
import com.sencha.gxt.data.shared.ModelKeyProvider;
import com.sencha.gxt.data.shared.PropertyAccess;
import com.vision.core.cm.data.ApplicationId;
import com.vision.core.cm.data.Domain;
import com.vision.core.cm.db.data.Permission;

/**
 * 
 * @author Mark
 *
 */
public interface PermissionProperties extends PropertyAccess<Permission> {
	
	@Path("name")
	ModelKeyProvider<Permission> key();
	
	@Path("name")
	LabelProvider<Permission> nameLabel();
	
	ValueProvider<Permission, String> name();
	ValueProvider<Permission, String> description();
	ValueProvider<Permission, ApplicationId> applicationId();
	ValueProvider<Permission, Domain> domain();

}
